package cn.tedu.backend.portal.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
public class User {
    @TableId(value = "user_id", type = IdType.AUTO)
    private String userId;

    @TableField("head_shot")
    private String headShot;//头像文件

    @TableField("password")
    private String password;

    @TableField("nicknames")
    private String nicknames;

    @TableField("introduction")
    private String introduction;//简介

    @TableField("paypassword")
    private String paypassword;//支付密码

    @TableField("vip")
    private String vip;//是否是vip

    @TableField("credibility")
    private String credibility;//信誉积分

    @TableField("alias")
    private String alias;

    @TableField("subscribe")
    private Integer subscribe;

    @TableField("fans")
    private Integer fans;

    @TableField("phone")
    private String phone;
}
